package Dao;

import java.util.List;


import entity.Foods;

public interface FoodsDao {
	
	public Foods addFood (Foods food) throws Exception;
	
	public boolean isExist(int food_no)throws Exception;

	public Foods updateFood(Foods f)throws Exception;
	
	public Foods deleteFood(Foods f)throws Exception;
	
	public List<Foods> queryFood() throws Exception;
	
	public Foods getFood(int food_no ) throws Exception;
	
	public Foods query(Foods f) throws Exception;
	
	public List<Foods> queryByTypeAndClass(String food_type, String food_class);
}
